package gui;

import javax.swing.BoxLayout;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.border.EmptyBorder;
/**
 * Zaostavstina chat-a sa novim prozorom, ne koristi se
 * @author Nikola
 *
 */
@SuppressWarnings("serial")
public class PrivateChatFrame extends JFrame {

	private JPanel contentPane;

	/**
	 * Create the frame.
	 */
	public PrivateChatFrame() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.X_AXIS));
		
		JScrollPane scrollPane = new JScrollPane();
		contentPane.add(scrollPane);
		
		JTextArea textAreaMessages = new JTextArea();
		textAreaMessages.setEditable(false);
		scrollPane.setViewportView(textAreaMessages);
	}

}
